from django.conf.urls import url

from verifications import views

urlpatterns = {

    url(r'imagecodes/(?P<image_code_id>.+)/$', views.RegisterImageAPIView.as_view()),
    # GET /verifications/smscodes/(?P<mobile>1[345789]\d{9})/?text=xxxx & image_code_id=xxxx
    url(r'smscodes/(?P<mobile>1[3456789]\d{9})/',views.RegisterSMSAPIView.as_view()),
}